<meta charset="UTF-8"></meta>
<nav id="h" class="blog-nav layui-header">
        <div class="blog-container">
            <a class="blog-logo" href="/">选课推荐交流平台</a>
            <!-- 导航菜单 -->
            <ul class="layui-nav" lay-filter="nav">
				    <li class="layui-nav-item">
				        <a href="/"><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
				    </li>
				    <li class="layui-nav-item">
				        <a href="/foreground/article"><i class="fa fa-file-text fa-fw"></i>&nbsp;选课推荐专栏</a>
				    </li>
				   <!-- <li class="layui-nav-item">
				        <a href="/notePage" function="top"><i class="fa fa-paper-plane-o fa-fw"></i>&nbsp;写笔记</a>
				    </li>-->
				   
				    <li class="layui-nav-item">
				        <a href="javascript:;" th:if="${session.user != null}" th:text="个人中心"><i class="fa fa-paper-plane-o fa-fw"></i>&nbsp;登录</a>
				        <dl class="layui-nav-child" th:if="${session.user != null}">
                           <dd><a href="/viewPerson">基本信息</a></dd>
                           <dd><a href="/viewCollection">课程收藏夹</a></dd>
                        </dl>
				        <a href="/webLogin" th:if="${session.user == null}" th:text="登录"><i class="fa fa-paper-plane-o fa-fw"></i>&nbsp;登录</a>
				        
				    </li>
				   
				    <li class="layui-nav-item">
				        <a href="/regist" th:if="${session.user == null}" th:text="注册"><i class="fa fa-hourglass-half fa-fw"></i>&nbsp;注册</a>
				        <a href="/quit" th:if="${session.user != null}" th:text="退出"><i class="fa fa-hourglass-half fa-fw"></i>&nbsp;注册</a>
				    </li>
				    <!-- <li class="layui-nav-item">
				        <a href="/foreground/about"><i class="fa fa-info fa-fw"></i>&nbsp;关于本站</a>
				    </li> -->
				</ul>
            <!-- 手机和平板的导航开关 -->
            <a class="blog-navicon" href="javascript:;">
                <i class="fa fa-navicon"></i>
            </a>
        </div>
</nav>
